#include <QCoreApplication>
#include <iostream>
using namespace std;
int main()
{
 float R, L, S;
 cout<<"R=";
 cin>>R;
L=2*3.14*R;
S=3.14*R*R;
 cout<<"L="<<L<<"\nS="<<S<<endl;
 return 0;
}
